﻿<Window x:Class="WpfTestApplication.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525">
    <StackPanel>
        <TextBox Text="{Binding Name}"></TextBox>
        <TextBox Text="{Binding Age}"/>
		<TextBox Text="{Binding HairColor}"/>
		<CheckBox IsChecked="{Binding HasMoustache}">
			<CheckBox.Content>Has Moustache</CheckBox.Content>
		</CheckBox>
		<TextBlock Text="{Binding MoustacheColor}"></TextBlock>
        <Calendar DisplayDate="{Binding BirthDate}" SelectedDate="{Binding BirthDate, Mode=TwoWay}" />
        <TextBox Text="{Binding BirthDate}" />
        <TextBlock  Text="{Binding NameAge}"></TextBlock>
        <TextBlock  Text="{Binding BirthDate}"></TextBlock>
        <TextBlock  Text="{Binding FavoriteColor}"></TextBlock>
        <TextBlock  Text="{Binding NameAgeSerialNumber}"></TextBlock> 
        <Button Content="AlertNameAge" Command="{Binding AlertNameAge}"></Button>
        <Button Content="AlertNameAge1" Command="{Binding AlertNameAge1}"></Button>
        <Button Content="AlertNameAge2" Command="{Binding AlertNameAge2}"></Button>
        <Button Content="AlertNameAge3" Command="{Binding AlertNameAge3}"></Button>
        <ItemsControl ItemsSource="{Binding Addresses}">
            <ItemsControl.ItemsPanel>
                <ItemsPanelTemplate>
                    <UniformGrid Columns="10"></UniformGrid>
                </ItemsPanelTemplate>
            </ItemsControl.ItemsPanel>
        </ItemsControl>
    </StackPanel>
</Window>
